home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / dmenu168.zip / SAMPLE.MNU < prev   
Text File  |  1992-07-31  |  3KB  |  136 lines

  1. #cascade = 2,1
  2. #default placement = 27,8
  3. #quickselect
  4.  
  5. #f1 = Help
  6.   #display,,,7
  7.     "Help with the menu system:"
  8.     ""
  9.     "Press the number displayed before"
  10.     "an item to access the item."
  11.     ""
  12.     "up & down                           "
  13.     "arrow keys - move the selection bar "
  14.     "enter key  - access selected item   "
  15.     "escape key - move back one menu     "
  16.     ""
  17.     "left mouse button works like enter  "
  18.     "right mouse button works like escape"
  19.     ""
  20.     "press any key to continue"
  21. #f2 = Exit
  22.   #display,,,2
  23.     "Good Bye !!"
  24.   #exit
  25.  
  26. #key 0,120
  27.   %secret menu
  28.  
  29. #display,255,20,5
  30.   "These external text boxes are a new feature for v1.67"
  31.  
  32. #if_member everyone
  33. #timer = 10
  34.   #logout     ; this can be used to logout
  35.   #reboot     ; absent minded users
  36. #display,3,255,4   ;the 255 means to center according to hieght
  37.   "You are"
  38.   "logged 
  39.   "into a"
  40.   "novell"
  41.   "server" 
  42. #else
  43. #timer = 4  ;set the screen saver timer
  44. #display,3,255,4   ;the 255 means to center according to hieght
  45.   "You are"
  46.   "_not_"
  47.   "logged" 
  48.   "into a"
  49.   "novell"
  50.   "server" 
  51. #endif
  52.  
  53. %Welcome to DougMenu !!!!
  54. DougMenu Variables
  55.   #ask string,Enter a String,,,8
  56.   #ask choice,Chose a Selection,,,6
  57.     "Choice 1" = The First Choice
  58.     "Choice 2" = The Second Choice
  59.     "And Another Choice"
  60.     "Choose Not to Choose" =
  61.   #display,,,1
  62.     "Your String Was:"
  63.     "%string%"
  64.   #if %choice%
  65.     #display,,,1
  66.       "Your Choice Was:"
  67.       "%choice%"
  68.   #else
  69.     #display,,,1
  70.       "You Chose Not To Chose."
  71.   #endif
  72. Password Feature
  73.   #password dougmenu
  74.   #display
  75.    "That is the Password !!!"
  76. Disk access features
  77.  %disk access menu
  78. Look at Color Palettes
  79.  #display
  80.   "The root menu is set"
  81.   "to color palette 0"
  82.  #display,,,1
  83.   "The this box is set"
  84.   "to color palette 1"
  85.  #display,,,2
  86.   "The this box is set"
  87.   "to color palette 2"
  88.  #display,,,3
  89.   "The this box is set"
  90.   "to color palette 3"
  91.  #display,,,4
  92.   "The this box is set"
  93.   "to color palette 4"
  94.  #display,,,5
  95.   "The this box is set"
  96.   "to color palette 5"
  97.  #display,,,6
  98.   "The this box is set"
  99.   "to color palette 6"
  100.  #display,,,7
  101.   "The this box is set"
  102.   "to color palette 7"
  103.  #display,,,8
  104.   "The this box is set"
  105.   "to color palette 8"
  106.  #display,,,9
  107.   "The this box is set"
  108.   "to color palette 9"
  109.  
  110. %Disk Access Menu
  111. Find a floppy Disk
  112.   #floppy floppy_drive
  113.   #display 
  114.     "A floppy formatted floppy disk"
  115.     "was found in drive %floppy_drive%" 
  116. Check for free disk space
  117.   #display
  118.     "This will check to see if"
  119.     "there are 300 K bytes free"
  120.     "on a floppy disk"
  121.   #floppy floppy_drive
  122.   #space %floppy_drive% 300
  123.   #display
  124.     "There was at least 300 K"
  125.     " bytes free."
  126.  
  127. %secret menu,,,2
  128. Secret option #1
  129.   echo It's not that secure
  130.   echo but it could be useful.
  131.   pause
  132. Secret option #2
  133.   echo Security through obscurity.
  134.   pause
  135.  
  136.